/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package launcher;

import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.GenericType;
import com.sun.jersey.api.client.UniformInterfaceException;
import entity.SunarpMsg;
import service.SunarpClient;

/**
 *
 * @author u02728
 */
public class Main {
        public static void main(String args[]) throws UniformInterfaceException {

        SunarpClient sunapClient = new SunarpClient();
        SunarpMsg data = (SunarpMsg) sunapClient.buscarPorPlaca_XML(SunarpMsg.class, "A2L379");

        System.out.println("Numero de Placa: " + data.getNumeroPlaca());
        System.out.println("Numnero de Motor: " + data.getNumeroMotor());

    }
}
